package com.ruoyi.websql.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * ***对象 sql_datasource
 * 
 * @author xudengyu
 * @date 2025-03-18
 */
public class SqlDatasource extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String dbAccount;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String dbCheckUrl;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String dbName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String dbPassword;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String dbState;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String dbUrl;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String driverClass;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long ID;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long initialSize;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long maxActive;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long maxIdle;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long maxWait;

    public void setDbAccount(String dbAccount) 
    {
        this.dbAccount = dbAccount;
    }

    public String getDbAccount() 
    {
        return dbAccount;
    }

    public void setDbCheckUrl(String dbCheckUrl) 
    {
        this.dbCheckUrl = dbCheckUrl;
    }

    public String getDbCheckUrl() 
    {
        return dbCheckUrl;
    }

    public void setDbName(String dbName) 
    {
        this.dbName = dbName;
    }

    public String getDbName() 
    {
        return dbName;
    }

    public void setDbPassword(String dbPassword) 
    {
        this.dbPassword = dbPassword;
    }

    public String getDbPassword() 
    {
        return dbPassword;
    }

    public void setDbState(String dbState) 
    {
        this.dbState = dbState;
    }

    public String getDbState() 
    {
        return dbState;
    }

    public void setDbUrl(String dbUrl) 
    {
        this.dbUrl = dbUrl;
    }

    public String getDbUrl() 
    {
        return dbUrl;
    }

    public void setDriverClass(String driverClass) 
    {
        this.driverClass = driverClass;
    }

    public String getDriverClass() 
    {
        return driverClass;
    }

    public void setID(Long ID) 
    {
        this.ID = ID;
    }

    public Long getID() 
    {
        return ID;
    }

    public void setInitialSize(Long initialSize) 
    {
        this.initialSize = initialSize;
    }

    public Long getInitialSize() 
    {
        return initialSize;
    }

    public void setMaxActive(Long maxActive) 
    {
        this.maxActive = maxActive;
    }

    public Long getMaxActive() 
    {
        return maxActive;
    }

    public void setMaxIdle(Long maxIdle) 
    {
        this.maxIdle = maxIdle;
    }

    public Long getMaxIdle() 
    {
        return maxIdle;
    }

    public void setMaxWait(Long maxWait) 
    {
        this.maxWait = maxWait;
    }

    public Long getMaxWait() 
    {
        return maxWait;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dbAccount", getDbAccount())
            .append("dbCheckUrl", getDbCheckUrl())
            .append("dbName", getDbName())
            .append("dbPassword", getDbPassword())
            .append("dbState", getDbState())
            .append("dbUrl", getDbUrl())
            .append("driverClass", getDriverClass())
            .append("ID", getID())
            .append("initialSize", getInitialSize())
            .append("maxActive", getMaxActive())
            .append("maxIdle", getMaxIdle())
            .append("maxWait", getMaxWait())
            .toString();
    }
}
